Optimal. Leaf size=48 \[ \frac {(a \sin (e+f x))^{m+2} \, _2F_1\left (1,\frac {m+2}{2};\frac {m+4}{2};\sin ^2(e+f x)\right )}{a^2 f (m+2)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 48, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used = {2592, 364} \[ \frac {(a \sin (e+f x))^{m+2} \, _2F_1\left (1,\frac {m+2}{2};\frac {m+4}{2};\sin ^2(e+f x)\right )}{a^2 f (m+2)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 364
Rule 2592
Rubi steps
\begin {align*} \int (a \sin (e+f x))^m \tan (e+f x) \, dx &=\frac {\operatorname {Subst}\left (\int \frac {x^{1+m}}{a^2-x^2} \, dx,x,a \sin (e+f x)\right )}{f}\\ &=\frac {\, _2F_1\left (1,\frac {2+m}{2};\frac {4+m}{2};\sin ^2(e+f x)\right ) (a \sin (e+f x))^{2+m}}{a^2 f (2+m)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 53, normalized size = 1.10 \[ \frac {\sin ^2(e+f x) (a \sin (e+f x))^m \, _2F_1\left (1,\frac {m+2}{2};\frac {m+2}{2}+1;\sin ^2(e+f x)\right )}{f (m+2)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.62, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\left (a \sin \left (f x + e\right )\right )^{m} \tan \left (f x + e\right ), x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (a \sin \left (f x + e\right )\right )^{m} \tan \left (f x + e\right )\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 1.00, size = 0, normalized size = 0.00 \[ \int \left (a \sin \left (f x +e \right )\right )^{m} \tan \left (f x +e \right )\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (a \sin \left (f x + e\right )\right )^{m} \tan \left (f x + e\right )\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \[ \int \mathrm {tan}\left (e+f\,x\right )\,{\left (a\,\sin \left (e+f\,x\right )\right )}^m \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (a \sin {\left (e + f x \right )}\right )^{m} \tan {\left (e + f x \right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________